<?php
class Comment extends AppModel {
	var $name = 'Comment';
	var $order = 'Comment.created ASC';
	
	var $belongsTo = array(
		'Post' => array(
			'className' => 'Post',
			'foreignKey' => 'post_id',
		),
		'User' => array(
			'className' => 'User',
			'foreignKey' => 'user_id',
		),
	);
}
?>